import Mock from 'mockjs'

let params =  Mock.mock({ // 数据池
  "meta":{
    "status":200,
    "msg":"获取学院列表成功",
  },
  "data":{
    "pagenum":"1",
    "total":5,
    "colleges|1-30":[
      {
        "create_time": "1486720211",
        "name":"工学院",
      },
      {
        "create_time": "1630925996",
        "name":"会计学院",
      },
      {
        "create_time": "1630925996",
        "name":"工商管理学院",
      }
    ]
  }
})

export default {
  getCollegeList: () => ({
    data:params.data,
    meta:params.meta
  })
}

